package org.canaan.auth2.dao;

import org.canaan.auth2.entity.User;

public interface UserDao {
	/**
	 * 根据用户id查询用户
	 * @param fId
	 * @return
	 */
	User selectById(String fId);
	
	/**
	 * 根据账号查询用户
	 * @param account
	 * @return
	 */
	User selectByAccount(String account);
	
}
